import './app.less';
// import Nav from './components/navList/nav.js'
import { Provider } from 'react-redux'
import store from './store/index.js'
import RouterView from './router/RouterView.js'
import routes from './router/routes.js'
import React, { Component } from 'react'

import { withRouter } from 'react-router'

import "animate.css";

class App extends Component {
  constructor() {
    super();
    this.state = {
      navTypes: 1,
    }
  }
  render() {
    return (
      <div className="App">
        <Provider store={store}>
          <RouterView routes={routes}></RouterView>
        </Provider>
      </div>
    )
  }
}

export default withRouter(App)